added save endpoint but it doesnt do much