change mode from dev to work