Updating the assignments