commit dao code