Updated offers table,and added validation to it