update and delete
added error msgs validation and css