update div fn
complete div fn