Edit Menu and Sql