actually use the handler for saving to sql