the error and action for a callback on emit is the new object received from the server.