add delete and edit for assignments