added `is_locked` to update data sent to api server