added db to save button