update database desgin
complete select function