refactor update , delete remote ajax function
rename test file