implementing update_status and get_status