# Managing Missions

**Client**

```lua
-- Triggers a server event to update the mission progress
-- @param missionId (string) - The ID of the mission being updated
-- @param progress (number) - Number of progress to add
-- @param LocalPlayer.state.tokenizer_KOJA_DAILYREWARDS (string) - Users token
TriggerServerEvent('koja_dailyrewards:server:updateProgress', missionId, progress, LocalPlayer.state.tokenizer_KOJA_DAILYREWARDS)

-- EXAMPLE
TriggerServerEvent('koja_dailyrewards:server:updateProgress', 'test_mission1', 2, LocalPlayer.state.tokenizer_KOJA_DAILYREWARDS)
```


**Server**

```lua
-- Does the same thing but with a export and in server
-- @param source (number) - Players source you want to set the progress to
-- @param missionId (string) - The ID of the mission being updated
-- @param progress (number) - Number of progress to add
exports['resourcename']:updateProgress(source, missionid, progress)

-- EXAMPLE
exports['KOJA_DAILYREWARDS']:updateProgress(source, 'test_mission1', 3)
```

## Related pages

- [Creating/Editing Locales](/new/daily-rewards/guides/creating-editing-locales) — A quick guide on editing locales to your likings!
- [Setting Premium Status](/new/daily-rewards/guides/setting-premium-status) — A quick guide on setting premium status for player!
- [Guides](/new/daily-rewards/guides) — back to the section overview
