validation for length of code to be at most 2digits and moved location_upload to services