Edit and delete for assignments