Some cleaning and starting to implement project update from a pot, but not finished, pot validation must be finished first