edit template for user