Implemented update_contact method for back-end