replaced slug to id in route edit_dream