update petition table and approved attribute in model