add deploy rake task, update to v 4