ajax to update user metric goal