Added check to make sure property exists in model before trying to write it
Added check to put method to make sure property exists in model before writing