curriculum edit loading values from db