Update ajax and view function names