edit assignment

completed the update assignment functions