Add verify method to put, this method must be moved to the place where verification take place