update code syntax