Implemented contact update functionallity