some corrections for CRUD-update feature