Table editting and validations