add update infor functionality not fully implemented