edit index and create actions with unsolved method