started setting up update handler on server side