added more functions
update