refactor started and completed api-ends
refactor social api-end + update api guide
refactor edit action