implement routes for editing plates