update using ajax and admin module