insert duration in db
!get gets duration too