updae ajax and remote