Added edit backend functionality