remove update code and allow backward compatibitly