Full update and delete functionality