fill out the insert and update functions