fix typo with userid and add check for assign exists when running update_status