Added error code and updated version