update routine moved to premake, premake script refactored