change action to ajax model