initial update

updated some part of the codes