updated request types for ajax calls